package nuist.hanniko.stu.webbackend.model.LwM2m;

import java.util.Date;

public class LwM2MResourceValue {
    private String deviceId;
    private String objectId;
    private String resourceId;
    private String valueType;
    private String value;
    private Date timestamp;

    public LwM2MResourceValue(String deviceId, String objectId, String resourceId, String valueType, String value, Date timestamp) {
        this.deviceId = deviceId;
        this.objectId = objectId;
        this.resourceId = resourceId;
        this.valueType = valueType;
        this.value = value;
        this.timestamp = timestamp;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getValueType() {
        return valueType;
    }

    public void setValueType(String valueType) {
        this.valueType = valueType;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Date getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Date timestamp) {
        this.timestamp = timestamp;
    }
}
